<?php if(!isset($cosa)) die(); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

	<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cosa->system('charset'); ?>" />
	
	<title>Cosa - <?php echo $cosa->system('site-title'); ?></title>
	
	<style type="text/css" media="all"> @import url(<?php echo $cosa->system('base-url'); ?>/kernel/files/css/styles.css); </style>
	<style type="text/css" media="all"> @import url(<?php echo $cosa->system('base-url'); ?>/kernel/files/css/ui.core.css); </style>
	<style type="text/css" media="all"> @import url(<?php echo $cosa->system('base-url'); ?>/kernel/files/css/ui.datepicker.css); </style>
	<style type="text/css" media="all"> @import url(<?php echo $cosa->system('base-url'); ?>/kernel/files/css/ui.theme.css); </style>
	
	<script type="text/javascript" src="<?php echo $cosa->system('base-url'); ?>/kernel/files/js/cosa.js.php?m=<?php echo $m; ?>"></script>
	<script type="text/javascript" src="<?php echo $cosa->system('base-url'); ?>/kernel/files/js/jquery-1.2.6.pack.js"></script>
	<script type="text/javascript" src="<?php echo $cosa->system('base-url'); ?>/kernel/files/js/ui.core.js"></script>
	<script type="text/javascript" src="<?php echo $cosa->system('base-url'); ?>/kernel/files/js/ui.sortable.js"></script>
	<script type="text/javascript" src="<?php echo $cosa->system('base-url'); ?>/kernel/files/js/ui.datepicker.js"></script>
	<script type="text/javascript" src="<?php echo $cosa->system('base-url'); ?>/kernel/files/js/custom.js"></script>
	
	<link rel="Shortcut Icon" href="<?php echo $cosa->system('base-url'); ?>/kernel/files/favicon.ico" />
	
	<?php $cosa->htmlHeader(); ?>

</head>
<body<?php if($cosa->system('installed') && !$user->isLoggedIn()) echo ' class="login"'; ?>>

	<div id="container">

